package com.registry.client.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@EnableConfigurationProperties(RegistryCentreConfig.class)
@ConfigurationProperties(prefix = "cloud.server")
public class RegistryCentreConfig {

    /**
     * 注册中心服务端ip
     */
    private String serverIp;

    public String getServerIp() {
        return serverIp;
    }

    public void setServerIp(String serverIp) {
        this.serverIp = serverIp;
    }
}
